package prog;

public class Commande {
	
	private static int numeroCommandeCompteur = 0;
	private int numeroCommande;
	private String agenceDepart;
	private String agenceArrivee;
	private Vehicule vehicule;
	private String dateDepart;
	
	public Commande( String agenceDepart,
			String agenceArrivee, Vehicule vehicule, String dateDepart) {
		super();
		this.numeroCommande = numeroCommandeCompteur ++;
		this.agenceDepart = agenceDepart;
		this.agenceArrivee = agenceArrivee;
		this.vehicule = vehicule;
		this.dateDepart = dateDepart;
	}

	public int getNumeroCommande() {
		return numeroCommande;
	}

	public void setNumeroCommande(int numeroCommande) {
		this.numeroCommande = numeroCommande;
	}

	public String getAgenceDepart() {
		return agenceDepart;
	}

	public void setAgenceDepart(String agenceDepart) {
		this.agenceDepart = agenceDepart;
	}

	public String getAgenceArrivee() {
		return agenceArrivee;
	}

	public void setAgenceArrivee(String agenceArrivee) {
		this.agenceArrivee = agenceArrivee;
	}

	public Vehicule getVehicule() {
		return vehicule;
	}

	public void setVehicule(Vehicule vehicule) {
		this.vehicule = vehicule;
	}

	public String getDateDepart() {
		return dateDepart;
	}

	public void setDateDepart(String dateDepart) {
		this.dateDepart = dateDepart;
	}
	

}
